package com.his.system.manager.service;

import com.his.system.manager.dto.PatientDrugListDto;
import com.his.system.manager.dto.PatientcostsListDto;
import com.his.system.manager.entity.RegisterEntity;

import java.util.List;

/**
 * 接口
 *
 * @Description
 * @Author Admin
 * @Date 2020-07-17 21:20:05
 */
public interface IRegisterService {
    /**
     * addEntity
     *
     * @param entity
     * @return Integer
     */
    Integer addEntity(RegisterEntity entity);

    /**
     * selectByEntity
     *
     * @param entity
     * @return List
     */
    List<RegisterEntity> selectByEntity(RegisterEntity entity);

    RegisterEntity findByCasenumber(String casenumber);

    Integer updateByPrimaryKeySelective(RegisterEntity entity);

    List<PatientcostsListDto> selectPatientcostsByCaseNumber(String casenumber);

    List<PatientDrugListDto> selectPatientDrug(String drugsTempID);
}